VertexIndex
VertexIndex[g,v] gives the integer index for the vertex v in the graph g.
VertexIndex[{v->w,…},…] uses rules v->w to specify the graph g.
Please visit the official Wolfram Language Reference for more details and examples on core symbols.
VertexIndex[g,v] gives the integer index for the vertex v in the graph g.
VertexIndex[{v->w,…},…] uses rules v->w to specify the graph g.
Please visit the official Wolfram Language Reference for more details and examples on core symbols.